#include "DrawableSprite.h"

DrawableSprite::DrawableSprite(sf::Sprite sprite):_sprite(sprite) {};

//void DrawableSprite::draw(sf::RenderTarget &target, sf::RenderStates states) const
//{
//  target.draw(_sprite, states);
//}

void DrawableSprite::moveSprite(Direction dir)
{
    switch(dir)
    {
    case DrawableSprite::East:
        _sprite.move(2.0f, 0.0f);
        break;
    case DrawableSprite::West:
        _sprite.move(-2.0f, 0.0f);
        break;
    case DrawableSprite::North:
        _sprite.move(0.0f, -2.0f);
        break;
    case DrawableSprite::South:
        _sprite.move(0.0f, 2.0f);
        break;
    }

}
